package com.hmall.api.client;


import com.hmall.api.client.fallback.CartClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;

import java.util.Collection;

@FeignClient(value = "Cart-service",fallbackFactory = CartClientFallbackFactory.class)
public interface CartClient {

    @DeleteMapping
    void removeByItemIds(Collection<Long> itemIds);
}
